package com.daka.dao;

import com.daka.entity.SpreadInsurance;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "spreadInsuranceDao")
@SQLMapper
public interface SpreadInsuranceDao {
    int deleteByPrimaryKey(Long id);

    int insert(SpreadInsurance record);

    int insertSelective(SpreadInsurance record);

    SpreadInsurance selectByPrimaryKey(Long id);

    SpreadInsurance findByVolunteerCode(String volunteerCode);

    List<SpreadInsurance> selectByStatement(SpreadInsurance record);

    int selectByStatementCount(SpreadInsurance record);

    int updateByPrimaryKeySelective(SpreadInsurance record);
}